<template>
  <div class="c-tab-pane" v-show="isShow">
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: 'CTabPane',
  components: {},
  props: {
    value: { type: String, default: '' },
    with: { type: String, default: '' }
  },
  data() {
    return {}
  },
  computed: {
    isShow() {
      return this.value === this.with
    }
  },
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  activated() {},
  deactivated() {},
  beforeDestroy() {},
  destroyed() {},
  methods: {}
}
</script>
<style lang="scss">
.c-tab-pane {
  @include wh;
}
</style>
